package com.pro.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;
import java.util.Objects;

public class JsBeforeUser {

  private Integer userId; //id
  private String photoImg;//照片
  private String account;//用户账户
  private String nickname;//用户昵称
  private Integer userCode;//用户学号
  private String avatarUrl;//头像路径
  private Integer studyDate;//学习时长
  private Integer status;//状态，2正常，3禁言，4注销，5封停
  private String freestyle;//个性签名
  private String idCard;//身份证号码
  private String phone;//手机号码
  private String sex;//用户性别
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private java.util.Date birthDate;//出生日期
  private String email;//邮箱
  private String remarks;//备注（介绍)
  private String intention;//求职意向
  private String consumption;//消费总金额
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private java.util.Date createDate;//注册时间
  private String fullName;//用户姓名
  private Integer developmentId;//进思学院拓展主键Id
  private String profession;//所学专业
  private Integer type;//是否毕业，2 未毕业，3已毕业
  private String studyContent;//学习内容
  private Integer integration;//量化积分
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Date entranceDate;//入学时间
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Date graduationDate;//毕业时间
  private String courseName;
  private String courseIntro;
  private List<Integer> countAll;

  public JsBeforeUser() {
    super();
  }

  public JsBeforeUser(Integer userId, String photoImg, String account, String nickname, Integer userCode, String avatarUrl, Integer studyDate, Integer status, String freestyle, String idCard, String phone, String sex, Date birthDate, String email, String remarks, String intention, String consumption, Date createDate, String fullName, Integer developmentId, String profession, Integer type, String studyContent, Integer integration, Date entranceDate, Date graduationDate, String courseName, String courseIntro, List<Integer> countAll) {
    this.userId = userId;
    this.photoImg = photoImg;
    this.account = account;
    this.nickname = nickname;
    this.userCode = userCode;
    this.avatarUrl = avatarUrl;
    this.studyDate = studyDate;
    this.status = status;
    this.freestyle = freestyle;
    this.idCard = idCard;
    this.phone = phone;
    this.sex = sex;
    this.birthDate = birthDate;
    this.email = email;
    this.remarks = remarks;
    this.intention = intention;
    this.consumption = consumption;
    this.createDate = createDate;
    this.fullName = fullName;
    this.developmentId = developmentId;
    this.profession = profession;
    this.type = type;
    this.studyContent = studyContent;
    this.integration = integration;
    this.entranceDate = entranceDate;
    this.graduationDate = graduationDate;
    this.courseName = courseName;
    this.courseIntro = courseIntro;
    this.countAll = countAll;
  }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public String getPhotoImg() {
    return photoImg;
  }

  public void setPhotoImg(String photoImg) {
    this.photoImg = photoImg;
  }

  public String getAccount() {
    return account;
  }

  public void setAccount(String account) {
    this.account = account;
  }

  public String getNickname() {
    return nickname;
  }

  public void setNickname(String nickname) {
    this.nickname = nickname;
  }

  public Integer getUserCode() {
    return userCode;
  }

  public void setUserCode(Integer userCode) {
    this.userCode = userCode;
  }

  public String getAvatarUrl() {
    return avatarUrl;
  }

  public void setAvatarUrl(String avatarUrl) {
    this.avatarUrl = avatarUrl;
  }

  public Integer getStudyDate() {
    return studyDate;
  }

  public void setStudyDate(Integer studyDate) {
    this.studyDate = studyDate;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

  public String getFreestyle() {
    return freestyle;
  }

  public void setFreestyle(String freestyle) {
    this.freestyle = freestyle;
  }

  public String getIdCard() {
    return idCard;
  }

  public void setIdCard(String idCard) {
    this.idCard = idCard;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }

  public Date getBirthDate() {
    return birthDate;
  }

  public void setBirthDate(Date birthDate) {
    this.birthDate = birthDate;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }

  public String getIntention() {
    return intention;
  }

  public void setIntention(String intention) {
    this.intention = intention;
  }

  public String getConsumption() {
    return consumption;
  }

  public void setConsumption(String consumption) {
    this.consumption = consumption;
  }

  public Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }

  public String getFullName() {
    return fullName;
  }

  public void setFullName(String fullName) {
    this.fullName = fullName;
  }

  public Integer getDevelopmentId() {
    return developmentId;
  }

  public void setDevelopmentId(Integer developmentId) {
    this.developmentId = developmentId;
  }

  public String getProfession() {
    return profession;
  }

  public void setProfession(String profession) {
    this.profession = profession;
  }

  public Integer getType() {
    return type;
  }

  public void setType(Integer type) {
    this.type = type;
  }

  public String getStudyContent() {
    return studyContent;
  }

  public void setStudyContent(String studyContent) {
    this.studyContent = studyContent;
  }

  public Integer getIntegration() {
    return integration;
  }

  public void setIntegration(Integer integration) {
    this.integration = integration;
  }

  public Date getEntranceDate() {
    return entranceDate;
  }

  public void setEntranceDate(Date entranceDate) {
    this.entranceDate = entranceDate;
  }

  public Date getGraduationDate() {
    return graduationDate;
  }

  public void setGraduationDate(Date graduationDate) {
    this.graduationDate = graduationDate;
  }

  public String getCourseName() {
    return courseName;
  }

  public void setCourseName(String courseName) {
    this.courseName = courseName;
  }

  public String getCourseIntro() {
    return courseIntro;
  }

  public void setCourseIntro(String courseIntro) {
    this.courseIntro = courseIntro;
  }

  public List<Integer> getCountAll() {
    return countAll;
  }

  public void setCountAll(List<Integer> countAll) {
    this.countAll = countAll;
  }

  @Override
  public String toString() {
    return "JsBeforeUser{" +
            "userId=" + userId +
            ", photoImg='" + photoImg + '\'' +
            ", account='" + account + '\'' +
            ", nickname='" + nickname + '\'' +
            ", userCode=" + userCode +
            ", avatarUrl='" + avatarUrl + '\'' +
            ", studyDate=" + studyDate +
            ", status=" + status +
            ", freestyle='" + freestyle + '\'' +
            ", idCard='" + idCard + '\'' +
            ", phone='" + phone + '\'' +
            ", sex='" + sex + '\'' +
            ", birthDate=" + birthDate +
            ", email='" + email + '\'' +
            ", remarks='" + remarks + '\'' +
            ", intention='" + intention + '\'' +
            ", consumption='" + consumption + '\'' +
            ", createDate=" + createDate +
            ", fullName='" + fullName + '\'' +
            ", developmentId=" + developmentId +
            ", profession='" + profession + '\'' +
            ", type=" + type +
            ", studyContent='" + studyContent + '\'' +
            ", integration=" + integration +
            ", entranceDate=" + entranceDate +
            ", graduationDate=" + graduationDate +
            ", courseName='" + courseName + '\'' +
            ", courseIntro='" + courseIntro + '\'' +
            ", countAll=" + countAll +
            '}';
  }
}
